////--------------------------------------------------------------------------------
//// Bajar Boost Endian -- http://svn.boost.org/svn/boost/sandbox/endian/
//
//#include <fstream>
//
//#include <boost/asio.hpp>
//#include <boost/range/as_literal.hpp>
//
//#include "base64.hpp"
//
//#include "ntlm.hpp"
//
//using namespace ntlm;
//
//
//
//
//int main()
//{
//    //char data_in_[] = "hello";					// Zm9vYmE=
//    //boost::iterator_range<const char*> data_in = boost::as_literal(data_in_);
// //   
// //   std::locale old_loc;
// //   std::locale b64loc(old_loc, new base64_codecvt(boost::size(data_in)));
//
//	//std::cout << "proxy authentication: " << set_locale(b64loc) << data_in << set_locale(old_loc) << '\n' << "other header: " << "value";
//
//
//	//message<type1> gm1 = make_from_system<type1>();
//	//boost::asio::streambuf request;
//	//std::ostream request_stream(&request);
//
//    std::locale old_loc;
//    //std::locale b64loc( old_loc, new base64_codecvt(boost::size(data_in)) );
//	std::locale b64loc( old_loc, new base64_codecvt(5) );
//
//	////request_stream << gm1;
//
//	////std::cout << "proxy authentication: " << gm1 << '\n' << "other header: " << "value";
//	////std::cout << std::endl;
//	//std::cout << "proxy authentication: " << set_locale(b64loc) << gm1 << set_locale(old_loc) << '\n' << "other header: " << "value";
//	//std::cout << std::endl;
//
//	std::cout << set_locale(b64loc) << "hello" << set_locale(old_loc);
//	//std::cout << set_locale(b64loc) << data_in << set_locale(old_loc);
//	std::cout << std::endl;
//
//
//	return 0;
//}
//
//
////------------------------------------------------------------------------------------------
//	//generic_message<type1> gm1;
//	////gm1.flags( flags::negotiate_unicode | flags::request_target | flags::negotiate_ntlm | flags::negotiate_always_sign );
//	//gm1.flags( flags::negotiate_unicode | flags::negotiate_oem| flags::request_target | flags::negotiate_ntlm | flags::negotiate_domain_supplied | flags::negotiate_workstation_supplied );
//	////gm1.supplied_domain("DOMAIN");
//	////gm1.supplied_workstation("WORKSTATION");
//	//gm1.set_os_version(5, 0, 2195);
//
////------------------------------------------------------------------------------------------
